Repository navigation
Area plates: a pop-up book, a replication notebook and a shared table - #1310
Merged
Merged
Conversation
The education, research and community plates are replaced with new brick renders by GPT-6.2 Astra: two towers rising from an open book, a notebook whose two pages show the same result, and three figures at a table with an empty stool. The justice plate is unchanged. The renderer and a harness are committed with scripts/rebrand/render_area_illustrations.py, so the plates can be rendered again. Alt text follows the new pictures everywhere they appear. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
✅ Spell Check PassedNo spelling issues found when checking 7 changed file(s)! 🎉 |
Contributor
|
👍 All content rules passed (WebP images/references and canonical |
Contributor
There was a problem hiding this comment.
2 issues found across 11 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="scripts/rebrand/render_area_illustrations.py">
<violation number="1" location="scripts/rebrand/render_area_illustrations.py:46">
P3: A failed module import is only reported after the 90 s `renderReady` wait, and the printed error does not name the plate. Also hook `console` errors and include `kind` in the message so a broken import fails fast with its cause.</violation>
<violation number="2" location="scripts/rebrand/render_area_illustrations.py:51">
P3: The output size is hard-coded to match `setSize(1200,800)` in `illustrations-render.js`, and nothing checks that the captured canvas has that aspect ratio. Read the canvas dimensions from the page and resize to half of them, so a change in the renderer cannot distort the plates unnoticed.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The home page's education, research and community plates are replaced with new brick illustrations. The same plates also appear on the welcome page, the Replication Hub, the resources directory, topic pages and Educators' Corner. The Social Justice & DEIA tower is unchanged.
GPT-6.2 Astra rendered the new plates. They were chosen from candidates by GPT-6.2 Astra, Gemini 4 Neon and Claude Opus 5.5. At 640 px their brick courses are within about 8% of the justice tower's. On the home page at 1440 px their bricks look about the same size as the tower's, so they are not rescaled.
Rendering: the new
assets/js/castle/illustrations-render.jsreplaces the older renderer. It comes withillustrations-harness.htmlandscripts/rebrand/render_area_illustrations.py, which renders the three plates in headless Chromium. Before, no harness was committed. The renderer is offline only and not part of the site's bundle. Running the script reproduces the committed WebPs exactly.Alt text describes the new pictures on the home page, the welcome page, the resources directory and topic pages.
Decisions to review
Checked: home page at 390 and 1440 px, welcome, resources and Replication Hub at 1440 px, and
check_seo_html.pyon a full build.🤖 Generated with Claude Code
Summary by cubic
Replaces the education, research and community area plates with new brick illustrations where they appear: the home page, welcome page, Replication Hub, resources directory, topic pages and Educators' Corner. Education is now two green towers joined by an arch rising from an open book, research an open notebook whose two pages show the same bar chart, and community three figures working at a table with an empty stool for one more. Alt text updates everywhere to match; the Social Justice & DEIA tower is unchanged.
Rendering
assets/js/castle/illustrations-render.jsrenderer viascripts/rebrand/render_area_illustrations.py, which runs it in headless Chromium and reproduces the committed WebPs exactly.Decisions to review
Written for commit eadb7ad. Summary will update on new commits.